﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MAT.Model;

namespace MAT
{
    public partial class frmManageRoom : Form
    {
        Controllers.ctrManageRoom _ctrManageRoom = new Controllers.ctrManageRoom();
        public frmManageRoom()
        {
            InitializeComponent();
            _ctrManageRoom.FrmManageRoom = this;
        }

        private void frmManageDepartment_Load(object sender, EventArgs e)
        {
            _ctrManageRoom.frmManageROOM_Load();
        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            _ctrManageRoom.btnAdd_Click();
        }

        private void btnReset_Click(object sender, EventArgs e)
        {
            _ctrManageRoom.btnReset_Click();
        }

        private void btnEdit_Click(object sender, EventArgs e)
        {
            _ctrManageRoom.btnEdit_Click();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            _ctrManageRoom.btnClose_Click();
        }

        private void cmbDepartmentName_SelectedIndexChanged(object sender, EventArgs e)
        {
            _ctrManageRoom.cmbRoomName_SelectedIndexChanged();
        }

        private void txtRomName_KeyDown(object sender, KeyEventArgs e)
        {
            _ctrManageRoom.txtRomName_KeyDown(e);
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

    }

}


